package com.hoperun.checkcloth.activity;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;

import com.hoperun.checkcloth.R;
import com.hoperun.checkcloth.base.MIP_BaseActivity;

public class BangbuMainActivity extends MIP_BaseActivity implements View.OnClickListener {


    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_bangbu_main);
        this.findViewById(R.id.chenzhonglay).setOnClickListener(this);
        this.findViewById(R.id.chaxunlay).setOnClickListener(this);
    }

    @Override
    public void onClick(View v) {
        switch (v.getId()){
            case R.id.chenzhonglay:
            {
                Intent intent=new Intent(this, BangChengZActivity.class);
                startActivity(intent);
            }
            break;
            case R.id.chaxunlay:
            {
                Intent intent=new Intent(this, BangQueryActivity.class);
                startActivity(intent);
            }
            break;
        }
    }

    @Override
    public void onPostHandle(int requestType, Object objBody, boolean error) throws Exception {

    }

}